package com.zyy.dao;

import com.zyy.pojo.User;

import java.util.List;

/**
 * @author zyy
 * @date 2020/11/10 11:45 上午
 * @description
 */
public interface IUserDao {
    List<User> findAll() throws Exception;

    User findByCondition(User user) throws Exception;

    Integer saveUser(User user);

    Integer updateUser(User user);

    Integer deleteUserById(Integer id);
}
